
import mirny
from mirny.plugins.carve import Carve

class Strings(Carve):
	name = _('Strings carver')
	description = _('Extract strings from a stream of binary data')
	params = {	'minlen': (_('Minimum length of the strings'), int, True),
			'encoding': (_('Character encoding of the strings'), str, False), } # supported : s,b,B
	# TODO : add support for other encodings (S,l,L)
	config = {	'minlen': 4,
			'encoding': 's', }
	
	def init_plugin(self):
		pass
	# FIXME



